<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style type="text/css">
        div{
            border: 2px solid red;
            width: 100px;
            height:100px;
        }
        .position-de{
            position: absolute;

        }
        .div1{

        }
    </style>
</head>
<body>
<div >div1</div>
<div class="position-de" style="right: 0px;top: 0px;">div2</div>
<div >div3</div>
<div  class="position-de" style="right: 0px;top: 100px;margin: 20px;" >div4</div>
<div>div5</div>
<div  class="position-de" style="right: 0px;top: 200px;">div6</div>
</body>

</html>